package com.app.partner.service;

import com.app.partner.mapper.likeMapper;
import com.app.partner.model.like;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.util.List;

@Service("likeServiceImpl")
@EnableTransactionManagement
public class likeServiceImpl implements likeService{
    @Autowired
    private likeMapper likeMapper;


    @Override
    public List<like> findAll() throws Exception {
        return likeMapper.findAll();
    }




}
